import request from "../utils/request";

/**
 * 登录
 */
export const loginApi = (code) => {
  return request(`/weixin/wxLogin/${code}`);
};

/**
 * 获取用户信息
 */
export const getUserInfoApi = () => {
  return request(`/weixin/getuserInfo`);
};
